-
Home
-
Premium Packages – Sell Digital Products Securely
-
5.5.9
-
Code
-
Classes
- Cart
| Total Complexity |
104 |
| Dependencies |
9 |
| Dependents |
2 |
| Total lines |
596 |
| Lines of code |
396 |
| Logical lines of code |
272 |
| Comment lines |
66 |
| Methods |
35 |
| Properties |
4 |
Methods 35
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| addItem() |
A |
43 |
10 |
47 |
| itemInfo() |
A |
52 |
8 |
20 |
| updateItem() |
S |
53 |
7 |
23 |
| getCartPrice() |
S |
52 |
6 |
22 |
| loadSaved() |
S |
54 |
6 |
20 |
| addDynamicItem() |
S |
49 |
5 |
30 |
| getItems() |
S |
58 |
6 |
14 |
| render() |
S |
49 |
5 |
29 |
| cartTotal() |
S |
58 |
5 |
16 |
| processExtraGigs() |
S |
57 |
5 |
15 |
| getCoupon() |
S |
62 |
4 |
10 |
| removeItem() |
S |
61 |
3 |
13 |
| itemThumb() |
S |
59 |
3 |
12 |
| isRecurring() |
S |
67 |
3 |
7 |
| itemLink() |
S |
64 |
3 |
8 |
| calculateTax() |
S |
63 |
3 |
10 |
| clear() |
S |
61 |
2 |
13 |
| getID() |
S |
65 |
2 |
10 |
| gigsCost() |
S |
69 |
2 |
7 |
| __construct() |
S |
100 |
1 |
2 |
| update() |
S |
79 |
1 |
3 |
| lockCart() |
S |
79 |
1 |
3 |
| unlockCart() |
S |
76 |
1 |
4 |
| isLocked() |
S |
79 |
1 |
3 |
| applyCoupon() |
S |
100 |
1 |
2 |
| clearCoupon() |
S |
76 |
1 |
4 |
| updateCart() |
S |
100 |
1 |
2 |
| save() |
S |
64 |
1 |
9 |
| getRoleDiscount() |
S |
83 |
1 |
3 |
| itemCost() |
S |
62 |
1 |
10 |
| couponDiscount() |
S |
74 |
1 |
4 |
| getTax() |
S |
79 |
1 |
3 |
| isEmpty() |
S |
76 |
1 |
4 |
| onUserLogin() |
S |
66 |
1 |
8 |
| clearAll() |
S |
71 |
1 |
6 |